# $Id: PKGBUILD 75077 2012-08-13 13:49:57Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-poe-component-client-http
pkgver=0.947
pkgrel=1
pkgdesc="Perl/CPAN Module POE::Component::Client::HTTP : nonblockingparallel web requests engine"
arch=(any)
url="http://search.cpan.org/dist/POE-Component-Client-HTTP"
license=("GPL" "PerlArtistic")
makedepends=("perl-uri" "perl-poe-component-client-keepalive"   "perl-poe" )
depends=("perl-uri" "perl-poe-component-client-keepalive"  "perl-poe" )
source=("http://www.cpan.org/authors/id/R/RC/RCAPUTO/POE-Component-Client-HTTP-$pkgver.tar.gz")
md5sums=('43f600c77ccf40b44c585955d5656ae4')

build() {
  cd $srcdir/POE-Component-Client-HTTP-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
